package com.mes.cloud.api.dto.request.syncdata;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@ApiModel
public class SfOrganization {
    @ApiModelProperty(value = "部门编码",dataType = "String")
    private String orgid;
    @ApiModelProperty(value = "部门名称",dataType = "String")
    private String orgname;
    @ApiModelProperty(value = "上级部门编码",dataType = "String")
    private String lastorg;
    @ApiModelProperty(value = "使用状态，默认为A-有效，I-失效",dataType = "String")
    private String status;
    @ApiModelProperty(value = "部门主管工号",dataType = "String")
    private String managerment;
    @ApiModelProperty(value = "更新前名称",dataType = "String")
    private String updateOld;
    @ApiModelProperty(value = "更新日期",dataType = "String")
    private String updateTime;
    @ApiModelProperty(value = "更新状态",dataType = "String")
    private String updateStatus;
    @ApiModelProperty(value = "创建日期",dataType = "Date")
    private Date insdt;
    @ApiModelProperty(value = "公司-人事范围",dataType = "String")
    private String vkorg;
    @ApiModelProperty(value = "工厂-人事子范围",dataType = "String")
    private String werks;
    @ApiModelProperty(value = "更新前部门主管工号",dataType = "String")
    private String updateOldManager;
    @ApiModelProperty(value = "部门层级",dataType = "String")
    private String structurelevel;

    private List<SfOrganization> children= new ArrayList<>();

}